package com.wangshouyu.mp.pay.common.enums;

/**
 * @author 王守钰
 * @description 交易类型
 * @date 2020/8/13 10:34
 */
public enum TradeType {
    /**
     * APP
     */
    APP("APP","APP"),

    /**
     * JSAPI
     */
    JS_API("JSAPI","JSAPI"),

    /**
     * NATIVE
     */
    NATIVE("NATIVE","NATIVE"),

    /**
     * H5
     */
    H5("MWEB","H5"),

    /**
     * 付款码
     */
    MICRO_PAY("MICROPAY","付款码");

    private String type;

    private String desc;


    TradeType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
